//
//  CellModel.m
//  Cook
//
//  Created by Macbookpro on 15/4/14.
//  Copyright (c) 2015年 dingjun. All rights reserved.
//

#import "CellModel.h"

@implementation CellModel

- (void)dealloc
{
    [_label release];
    
    [super dealloc];
}

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    CGAdapter _myAd = [AdapterModel getCGAdapter];
    
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        self.label = [[UILabel alloc] initWithFrame:CGRectMake(120 * _myAd.sWidth, 0, 200 * _myAd.sWidth, self.frame.size.height)];
        _label.textAlignment = NSTextAlignmentLeft;
        [self.contentView addSubview:_label];
        [_label release];
    }
    return self;
}






- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
